package org.zjx.dao.dto;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.zjx.common.route.IRoute;
import org.zjx.common.route.bean.Address;

import java.util.List;

@Schema(description = "去目标点路径 查询条件实体")
@Data
public class WayPointsDTO {

    @Schema(description = "新加的路径集合")
    @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS)
    private List<IRoute> path;

    @Schema(description = "起点坐标")
    private Address startAddress;

    @Schema(description = "终点坐标")
    private Address endAddress;
}
